﻿<%--<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SubSNSerach.aspx.cs" Inherits="search_SubSNSerach" %>--%>

<%@ Page Title="通过子装配件查询主装配件" Language="C#" MasterPageFile="~/site.master"  AutoEventWireup="true" CodeFile="SubSNSerach.aspx.cs" Inherits="search_SubSNSerach" %>
<asp:Content ID="Content1" ContentPlaceHolderID="headContent" Runat="Server">
    <style type="text/css">
          .mr
       {
           margin-right:549px   /*右边距*/
       } 
            .breadcrumbcss
       {
           width:1054px;
           margin:20px auto;
       }
            .foodermargin
    {     
    margin:350px auto 0 auto;
     }
        #formdiv {
            height: 31px;
            width: 1111px;
        }
    </style>
    <link href="../CSS/bootstrap.css" rel="stylesheet" />
    <link href="../CSS/bootstrap.min.css" rel="stylesheet" />
    <link href="../CSS/allcommonstyle.css" rel="stylesheet" />
      <script src="../js/jquery-1.8.3.min.js" type="text/javascript"></script>
    <script src="../js/bootstrap.min.js" type="text/javascript"></script>
    <script src="../js/my97datepicker/WdatePicker.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <div class="breadcrumbcss">
      <ol class="breadcrumb ">           
            <li><a href="../MainHtml.aspx">首页</a></li>
            <li><a href="searchMainHtml.aspx">查询</a></li>	
		     <li><a href="SubSNSerach.aspx" class="active">通过子装配件查询主装配件</a></li>
        </ol>
    </div>
      <h4 class="headtitle">通过子装配件查询主装配件</h4>

   <div style="margin-top:30px" > </div> 
    <div id="formdiv1"  class="form-horizontal" >  
              
                <div class="form-group mb"  style="float:left;margin-left:410px; width: 427px;">
                 <label  class="col-sm-2 control-label" style="width:200px">请输入子装配件SN:</label>  
                   <asp:TextBox ID="TextBox1" runat="server" Width="191px"></asp:TextBox>  
 
             </div>

          &nbsp; 
        <asp:Button ID="Button1" runat="server" Text="查 询" OnClick="Button1_Click" Width="77px" Font-Bold="True" height="30px"  CssClass="bluebuttoncss"/>
         &nbsp; 
    
         <asp:Button ID="Button2" runat="server" Text="返回" Font-Bold="True" OnClick="Button2_Click" height="30px" Width="77px" CssClass="bluebuttoncss" /> 
            
    </div>
    </div>   
        <div style="text-align:center;margin:30px auto 10px auto;width:676px;">
           <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" EnableModelValidation="True" HorizontalAlign="Center" Visible="False" Width="664px">
               <Columns>
                   <asp:HyperLinkField DataNavigateUrlFields="SN" DataNavigateUrlFormatString="~/search/Default.aspx?SN={0}" DataTextField="SN" HeaderText="主装配件">
                   <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                   </asp:HyperLinkField>
                   <asp:BoundField DataField="SubSN" HeaderText="子装配件">
                   <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                   </asp:BoundField>
               </Columns>
           </asp:GridView>
       </div>
     <div id="fooder" class="foodercl foodermargin" >
      
       Copyright © 2015-2016 摩比天线（深圳）技术有限公司版权所有

     </div>  
      </asp:Content>